<?php echo '<?xml version="1.0" encoding="utf-8" ?>';?>
<rss version="2.0">
<channel>
<title>产品展示</title>
<link><?php echo base_url();?></link>
<language>zh-cn</language>
<copyright><?php echo $this->config->item('sys_site_copyright');?></copyright>
<?php foreach($product as $row){?>
	<item>
	<title><![CDATA[<?php echo $row->title;?>]]></title>
	<link><![CDATA[<?php echo site_url(CTL_FOLDER.'product/detail/'.$row->id);?>]]></link>
	<description><![CDATA[<?php echo strcut(replace_htmlAndjs($row->content),200);?>]]></description>
	<pubDate><?php echo date('Y-m-d H:i:s',$row->create_date);?></pubDate>
	</item>
<?php }?> 
</channel>
</rss>